/* tcpmcntl.c - tcpmcntl */

#include "tcpfms.h"
#include "tcb.h"
#include "tcp.h"

/*------------------------------------------------------------------------
 *  tcpmcntl - control function for the master TCP pseudo-device
 *------------------------------------------------------------------------
 */
int tcpmcntl(int func, void *arg)
{
	int	rv;

	switch (func) {
	case TCPC_LISTENQ:
		tcps_lqsize = (int)arg;
		rv = OK;
		break;
	default:
		rv = SYSERR;
	}
	return rv;
}
